import 'package:flutter/material.dart';
import 'screens/model_selection_screen.dart';
import 'theme/app_theme.dart';

void main() {
  runApp(const ModelAirplaneControllerApp());
}

class ModelAirplaneControllerApp extends StatelessWidget {
  const ModelAirplaneControllerApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '模型飞机遥控器',
      theme: AppTheme.lightTheme,
      darkTheme: AppTheme.lightTheme,
      themeMode: ThemeMode.system,
      debugShowCheckedModeBanner: false,
      home: const ModelSelectionScreen(),
    );
  }
}
